/**
 * Created by kevin on 2017/6/15.
 */

var multer  = require('multer')

function upload() {

}
upload.upload = multer({dest:'data/uploads/'});

upload.register = function () {
    upload.upload = multer({dest:'data/uploads/'});
};


module.exports = upload;


